/**
 * @Author: 张兴
 * @Date: 2019/6/20
 * @Last Modified by:   张兴
 * @Last Modified time: 2019-09-12 15:45:00
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 查询客户,车辆信息
export const selectUserCarDate = params => axios.get(`${SERVER.DMSCLOUD_REPAIR}/repair/extension/getUserCarDate`, { params });

// 查询延保产品信息
export const selectExtendedInformation = params => axios.get(`${SERVER.DMSCLOUD_REPAIR}/repair/extension/getExtendedInformation`, { params });

// 查询延保单信息
export const getUsedCarExtended = params => axios.get(`${SERVER.DMSCLOUD_REPAIR}/repair/extension/getUsedCarExtended`, { params });

// 新增延保产品信息
export const addMaintain = params => axios.Post(`${SERVER.DMSCLOUD_REPAIR}/repair/extension/addUsedCarExtended`, { params });
